package org.wisdom.vo;

import lombok.Data;
import org.wisdom.dto.BaseDto;

import java.util.List;
import java.util.Map;

/**
 * 分页
 *
 * @author 张智研
 * @date 2022/05/17 13:43
 **/
@Data
public class PageModel<T extends BaseDto> {

    private int pageNumber;
    private int pageSize;
    private int totalPages;
    private long totalElements;
    private List<T> content;
    private Map<String, String> sort;
}
